package model

// Puzzle represents sudoku puzzle
type Puzzle struct {
	ID           int          `json:"id"`
	Content      string       `json:"content"`
	Difficulty   Difficulty   `json:"difficulty"`
	PlayerPlayed int          `json:"playerPlayed"`
	HighestScore int          `json:"highestScore"`
	ShortestTime TimeDuration `json:"shortestTime"`
}

// NewPuzzle creats puzzle
func NewPuzzle() *Puzzle {
	return &Puzzle{}
}
